#include<bits/stdc++.h>
#define rg register
#define file(x)freopen(x".in","r",stdin);freopen(x".out","w",stdout)

using namespace std;

int main()
{
	for(rg int i=0;i<32;i+=1)
	{
		int cnt=0;
		for(rg int j=0;j<32;j+=1)
			cnt+=((i*j)&4)!=0;
		cerr<<cnt<<endl;
	}
	return 0;
}
